package com.yuju.vo.house;

import java.math.BigDecimal;
import java.util.Date;

import com.yuju.common.BaseVO;
import com.yuju.common.fileld.validator.Rule.NonNull;

public class ServiceOrderVo extends BaseVO {

	/**  
	 * serialVersionUID : 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
     *  主键。存储UUID，由应用生成。,所属表字段为si_service_order.id
     */
    private String id;

    /**
     *  编号。,所属表字段为si_service_order.code
     */
    private String serviceOrderNo;

    /**
     *  所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为si_service_order.group_id
     */
    private String groupId;

    /**
     *  所属分店。外键，引用酒店信息表（grp_hotel）的主键（id）。,所属表字段为si_service_order.hotel_id
     */
    @NonNull(message = "所属分店不能为空", serviceLine = "save,update")
    private String hotelId;

    /**
     *  所属房源。外键，对应房源表的主键。,所属表字段为si_service_order.house_id
     */
    @NonNull(message = "房源不能为空", serviceLine = "save,update")
    private String houseId;

    /**
     *  服务。外键，对应服务表的主键。,所属表字段为si_service_order.service_id
     */
    @NonNull(message = "服务不能为空", serviceLine = "save,update")
    private String serviceId;

    /**
     *  服务状态编号。,所属表字段为si_service_order.flow_status_code
     */
    private Integer flowStatusCode;

    /**
     *  服务状态名称。,所属表字段为si_service_order.flow_status_name
     */
    private String flowStatusName;

    /**
     *  订单金额。,所属表字段为si_service_order.price
     */
    @NonNull(message = "价格不能为空", serviceLine = "save,update")
    private BigDecimal price;

    /**
     *  预约时间。,所属表字段为si_service_order.appoint_time
     */
    @NonNull(message = "预约时间不能为空", serviceLine = "save,update")
    private Date appointTime;

    /**
     *  备注。,所属表字段为si_service_order.remark
     */
    private String remark;

    /**
     *  是否逻辑删除。1表示未删除，2表示已逻辑删除。,所属表字段为si_service_order.is_deleted
     */
    private Byte isDeleted;

    /**
     *  创建时间。,所属表字段为si_service_order.gmt_create
     */
    private Date gmtCreate;

    /**
     *  修改时间。,所属表字段为si_service_order.gmt_modified
     */
    private Date gmtModified;

    /**
     *  创建用户ID,所属表字段为si_service_order.create_user_id
     */
    private String createUserId;

    /**
     *  更新用户ID,所属表字段为si_service_order.update_user_id
     */
    private String updateUserId;

    /**
     *  创建用户名,所属表字段为si_service_order.create_user_name
     */
    private String createUserName;

    /**
     *  更新用户名,所属表字段为si_service_order.update_user_name
     */
    private String updateUserName;
    
    private String hotelName;
    
    private String phone;
    
    private String ownerName;
    
    private String address;
    
    private String houseTitle;
    
    private String serviceName;
    
    private Byte serviceType;

	public String getHotelName() {
		return hotelName;
	}

	public void setHotelName(String hotelName) {
		this.hotelName = hotelName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getOwnerName() {
		return ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getHouseTitle() {
		return houseTitle;
	}

	public void setHouseTitle(String houseTitle) {
		this.houseTitle = houseTitle;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public Byte getServiceType() {
		return serviceType;
	}

	public void setServiceType(Byte serviceType) {
		this.serviceType = serviceType;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return serviceOrderNo;
	}

	public void setCode(String code) {
		this.serviceOrderNo = code;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getHotelId() {
		return hotelId;
	}

	public void setHotelId(String hotelId) {
		this.hotelId = hotelId;
	}

	public String getHouseId() {
		return houseId;
	}

	public void setHouseId(String houseId) {
		this.houseId = houseId;
	}

	public String getServiceId() {
		return serviceId;
	}

	public void setServiceId(String serviceId) {
		this.serviceId = serviceId;
	}

	public Integer getFlowStatusCode() {
		return flowStatusCode;
	}

	public void setFlowStatusCode(Integer flowStatusCode) {
		this.flowStatusCode = flowStatusCode;
	}

	public String getFlowStatusName() {
		return flowStatusName;
	}

	public void setFlowStatusName(String flowStatusName) {
		this.flowStatusName = flowStatusName;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Date getAppointTime() {
		return appointTime;
	}

	public void setAppointTime(Date appointTime) {
		this.appointTime = appointTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Byte getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Byte isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public String getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(String updateUserId) {
		this.updateUserId = updateUserId;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public String getUpdateUserName() {
		return updateUserName;
	}

	public void setUpdateUserName(String updateUserName) {
		this.updateUserName = updateUserName;
	}

}
